Skip to content

docs(algorithms): placement policy — core canon vs experimental variants (RFC) - #280

Closed
haonan3 wants to merge 1 commit into
mainfrom
docs/algorithms-placement-policy
Closed

docs(algorithms): placement policy — core canon vs experimental variants (RFC)#280
haonan3 wants to merge 1 commit into
mainfrom
docs/algorithms-placement-policy

Conversation

@haonan3

@haonan3 haonan3 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

RFC: writes the algorithm placement policy into unirl/algorithms/README.md. Stacked on #210 (references the experimental tier); the diff collapses to the last commit once #210 merges.

Three rules: (1) core keeps the canon — reference family bases (GRPO, FlowGRPO, SFT) and team-flagship published algorithms (CPPO, DRPO, FlowDPPO); (2) model-specific one-offs and unpublished variants start in the experimental/ package that needs them, selected via _target_ exactly like core algorithms (trainers unaffected); (3) movement in either direction is a deliberate PR with config dotpaths migrated in the same change (check_recipe_targets gates stale paths).

No algorithms move in this PR — it establishes the policy so in-flight and future algorithm PRs choose their home at land time. Comment here if you want the lines drawn differently.

Test Plan

Docs-only. pre-commit run --all-files green.

Compatibility / Risk

None (documentation). Adoption applies to future PRs; existing algorithms are untouched until a dedicated placement PR moves them.

AI-assisted; reviewed and directed by the maintainer.

…nts (RFC)

Writes down the placement rules for loss algorithms agreed during the
experimental-tier design: core keeps the canonical family bases and the
team-flagship published algorithms; model-specific one-offs and
unpublished variants live in the experimental package that needs them
(selected via _target_ — trainers are unaffected either way); movement in
either direction is a deliberate PR with config dotpaths migrated in the
same change. No algorithms move in this PR — it is the policy RFC.
@haonan3

haonan3 commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

Closing: rules 2–3 here restate the experimental-tier contract that #279 has since merged (with lint enforcement); the only net-new content is the rule-1 canon list, which is a rot-prone maintenance surface. If a real placement dispute arises, adjudicate it on that PR and fold the one-line outcome into the tier contract — case law over pre-legislation.

@haonan3 haonan3 closed this Aug 2, 2026
@github-actions github-actions Bot removed the wip Draft / work in progress label Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant